Skip to main content

QUEST_OBJECTIVE_COMPLETED

[[QUEST_OBJECTIVE_COMPLETED]]

This action indicates that a mission objective has been completed. It is used in combination with [[QUEST_COMPLETE]] to determine that the quest is completed. At the end of the quest, when specified with [[QUEST_COMPLETE]], the quest will be evaluated as completed only if the action [[QUEST_OBJECTIVE_COMPLETED]] was activated first.

  • Example: {[[(A), ON_SEARCH_TREASURES]] Hidden in a drawer, you found the ancient tome you were looking for. Now you can leave the dungeon! [[QUEST_OBJECTIVE_COMPLETED]]}

In this example, after searching for treasures in the room, it will be recorded that the quest objective is complete. At the end of the quest using the action [[QUEST_COMPLETE]], the quest will actually be considered complete only if the objective had been completed.